Turn on the code when you can move your character